<form method="post" id="updateFrm">
    <input id="errCode" type="hidden" value="0" />
	<table cellpadding="0" cellspacing="0" width="550px" border="0">
        <tr>
            <td class="fr right" width="25%" nowrap="nowrap">Tên sản phẩm<?php if ($GLOBALS['cfg']['multi_lang']) { ?> tiếng VIệt<?php } ?> <span style="color:red">*</span></td>
            <td class="fr" style="position: relative;" width="80%">
                <input type="text" data-required="1" class="medium" name="name_vn" id="name_vn" value="<?php echo $info['name_vn'] ?>" style="width:280px;" />
                <div class="errordiv name_vn"><div class="arrow"></div>Vui lòng nhập tên sản phẩm!</div>
            </td>
        </tr>
        <?php
        if ($GLOBALS['cfg']['multi_lang'])
        {
        ?>
        <tr>
            <td class="fr right" width="25%">Tên sản phẩm tiếng Anh</td>
            <td class="fr" style="position: relative;" width="80%">
                <input type="text" class="medium" name="name_en" id="name_en" value="<?php echo $info['name_en'] ?>" style="width:280px;" />
            </td>
        </tr>
        <?php
        }
        ?>
        <tr>
            <td class="fr right">Tình trạng</td>
            <td class="fr">
                <?php echo form_dropdown('tinhtrang', $product_status, $info['tinhtrang'], 'id="tinhtrang" style="width:200px !important;"'); ?>
            </td>
        </tr>
        <tr>
            <td class="fr right" valign="top">Nhóm sản phẩm <span style="color:red">*</span></td>
            <td class="fr"><ul class="cat_treeview filetree treeview" style="height: 150px;"><?php echo cat_tree($category_list, 0, json_decode($info['cat'])); ?></ul></td>
        </tr>
        <tr>
        	<td class="fr right">Cho phép bình luận</td>
        	<td class="fr">
                <ul class="css3-radios">
                    <li><label for="comment1"><input data-no-uniform="true" name="comment" id="comment1" type="radio" value="1"<?php echo($info['comment'] == '1' ? " checked=checked" : "") ?> /><span>Có</span></label></li>
                    <li><label for="comment0"><input data-no-uniform="true" name="comment" id="comment0" type="radio" value="0"<?php echo($info['comment'] == '0' ? " checked=checked" : "") ?> /><span>Không</span></label></li>
                </ul>
            </td>
    	</tr>
        <tr>
        	<td class="fr right">Tạo sitemap</td>
        	<td class="fr">
                <ul class="css3-radios">
                    <li><label for="sitemap1"><input data-no-uniform="true" name="sitemap" id="sitemap1" type="radio" value="1"<?php echo($info['sitemap'] == '1' ? " checked=checked" : "") ?> /><span>Có</span></label></li>
                    <li><label for="sitemap0"><input data-no-uniform="true" name="sitemap" id="sitemap0" type="radio" value="0"<?php echo($info['sitemap'] == '0' ? " checked=checked" : "") ?> /><span>Không</span></label></li>
                </ul>
            </td>
    	</tr>
        <tr>
            <td class="fr right" valign="top">Không hiển thị</td>
            <td class="fr">
                <label for="hide_code" style="float: left;">
                    <input type="checkbox" name="hide_code" id="hide_code" value="1"<?php echo($info['hide_code'] == 1 ? " checked='checked'" : "") ?> />
                    <span> Mã sản phẩm</span>
                </label>
                <label for="hide_nsx" style="float: left;">
                    <input type="checkbox" name="hide_nsx" id="hide_nsx" value="1"<?php echo($info['hide_nsx'] == 1 ? " checked='checked'" : "") ?> />
                    <span> Thương hiệu</span>
                </label>
                <label for="hide_size" style="float: left;">
                    <input type="checkbox" name="hide_size" id="hide_size" value="1"<?php echo($info['hide_size'] == 1 ? " checked='checked'" : "") ?> />
                    <span> Size</span>
                </label>
                <label for="hide_kichthuoc" style="float: left;">
                    <input type="checkbox" name="hide_kichthuoc" id="hide_kichthuoc" value="1"<?php echo($info['hide_kichthuoc'] == 1 ? " checked='checked'" : "") ?> />
                    <span> Kích thước</span>
                </label>
                <label for="hide_color" style="float: left;">
                    <input type="checkbox" name="hide_color" id="hide_color" value="1"<?php echo($info['hide_color'] == 1 ? " checked='checked'" : "") ?> />
                    <span> Màu sắc</span>
                </label>
                <label for="hide_chatlieu" style="float: left;">
                    <input type="checkbox" name="hide_chatlieu" id="hide_chatlieu" value="1"<?php echo($info['hide_chatlieu'] == 1 ? " checked='checked'" : "") ?> />
                    <span> Chất liệu</span>
                </label>                    
                <label for="hide_bh" style="float: left;">
                    <input type="checkbox" name="hide_bh" id="hide_bh" value="1"<?php echo($info['hide_bh'] == 1 ? " checked='checked'" : "") ?> />
                    <span> Bảo hành</span>
                </label>
                <label for="hide_xuatxu" style="float: left;">
                    <input type="checkbox" name="hide_xuatxu" id="hide_xuatxu" value="1"<?php echo($info['hide_xuatxu'] == 1 ? " checked='checked'" : "") ?> />
                    <span> Xuất xứ</span>
                </label>
                <label for="hide_tags" style="float: left;">
                    <input type="checkbox" name="hide_tags" id="hide_tags" value="1"<?php echo($info['hide_tags'] == 1 ? " checked='checked'" : "") ?> />
                    <span> Tags seo</span>
                </label>
                <label for="hide_tinhtrang" style="float: left;">
                    <input type="checkbox" name="hide_tinhtrang" id="hide_tinhtrang" value="1"<?php echo($info['hide_tinhtrang'] == 1 ? " checked='checked'" : "") ?> />
                    <span> Tình trạng</span>
                </label>
            </td>
        </tr>
        <tr>
            <td class="fr right">&nbsp;</td>
            <td class="fr">
                <?php echo form_input(array('type' => 'hidden', 'name' => 'id', 'class' => 'id', 'value' => $info['id'])); ?>
                <div id="submitBtn" class="btn btn-success"><i class="icon glyphicons white ok_2"></i>Cập nhập</div>
                <div id="closeForm" class="btn btn-danger"><i class="icon glyphicons white remove_2"></i>Hủy bỏ</div>
            </td>
        </tr>
    </table>
</form>